import request from '@/utils/request'
/*
* 获取产品合并的格子分区
* */
export function GetAllGridArea(params) {
  return request({
    url:'/api/ProductCombineArea/GetAllGridArea',
    method:'get',
    params
  })
}
/*
* 新增
* */
export function AddGridArea(data) {
   return request({
     url:'/api/ProductCombineArea/AddGridArea',
     method:'post',
     data
   })
}
/*
* 修改
* */
export function ModifyGridArea(data) {
  return request({
    url:'/api/ProductCombineArea/ModifyGridArea',
    method:'post',
    data
  })
}
/*
* 获取工位
* */
export function GetAllWorkStation(data) {
  return request({
    url:'/api/WorkStation/GetAllWorkStation',
    method:'post',
    data
  })
}
/*
*
* */
export function GetAllList(data){
  return request({
    url:'/api/ProductCategorical/GetAllList',
    method:'post',
    data
  })
}
/*
*
* */
export function DeleteGridArea(data) {
  return request({
    url:'/api/ProductCombineArea/DeleteGridArea',
    method:'post',
    params:data
  })
}
